home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / win_q_t / stsbar12.zip / STSBAR.EXT < prev    next >
Text File  |  1991-10-04  |  2KB  |  57 lines

  1. //========================================================================
  2. //
  3. //  Program          : STSBAR.EXT
  4. //  Version          : 1.2.0
  5. //  Operating System : DOS / Windows 3.0 / Microsoft C 6.0
  6. //  Author           : Jean-Marc Krikorian
  7. //                     525 Sandy Lane 
  8. //                     Libertyville, IL  60048 
  9. //                     (708) 816-3314 
  10. // 
  11. //  Description      : This file contains all the control messages, styles 
  12. //                     and defines.
  13. // 
  14. //  Copyright 1991 All Rights Reserved.
  15. // 
  16. //========================================================================
  17.  
  18. // Status Bar Messages
  19. #define SBM_SIZE           ( WM_USER + 0 )
  20. #define SBM_DISPLAYTEXT    ( WM_USER + 1 )
  21. #define SBM_TEXTCOLOR      ( WM_USER + 2 )
  22. #define SBM_FACESTYLE      ( WM_USER + 3 )
  23. #define SBM_FACECOLOR      ( WM_USER + 4 )
  24. #define SBM_SETFONT        ( WM_USER + 5 )
  25.  
  26. // Status Bar Notification Messages
  27. #define SBN_LBUTTONUP      ( 1 )
  28. #define SBN_LBUTTONDBLCLK  ( 2 )
  29. #define SBN_MBUTTONUP      ( 3 )
  30. #define SBN_MBUTTONDBLCLK  ( 4 )
  31. #define SBN_RBUTTONUP      ( 5 )
  32. #define SBN_RBUTTONDBLCLK  ( 6 )
  33.  
  34. // Status Bar Face Styles
  35. #define SBFS_3DFACE   1000
  36. #define SBFS_2DFACE   1001
  37. #define SBFS_FLATFACE 1002
  38.  
  39. // Status Bar Face Colors And Text Colors
  40. #define SBCLR_RED   RGB(255, 0, 0)
  41. #define SBCLR_GREEN RGB(0, 255, 0)
  42. #define SBCLR_BLUE  RGB(0, 0, 255)
  43. #define SBCLR_WHITE RGB(255, 255, 255)
  44. #define SBCLR_BLACK RGB(0, 0, 0)
  45. #define SBCLR_GRAY  RGB(192, 192, 192)
  46.  
  47. // Status Bar Text Attributes
  48. #define SBTA_BOLD      0x0001
  49. #define SBTA_ITALICS   0x0002
  50. #define SBTA_UNDERLINE 0x0004
  51. #define SBTA_STRIKEOUT 0x0008
  52.  
  53. // Status Bar Styles
  54. #define SBS_BOTTOM   0x00000001L
  55. #define SBS_TOP      0x00000002L
  56. #define SBS_MOVEABLE 0x00000004L
  57.